﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Management;
using System.Text;

namespace WMI.NET.CIM
{
    /// <summary>
    /// The CIM_BIOSElement class represents the low-level software that is loaded into non-volatile storage and used to start and configure a computer system.
    /// </summary>
    public class CIM_BIOSElement : CIM_SoftwareElement
    {

        private Nullable<Boolean> _PrimaryBIOS;

        /// <summary>
        /// If TRUE, this is the primary BIOS of the computer system.
        /// </summary>
        public Nullable<Boolean> PrimaryBIOS { get { return _PrimaryBIOS; } }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="mbo"></param>
        public CIM_BIOSElement(ManagementBaseObject mbo)
            : base(mbo)
        {
            _PrimaryBIOS = mbo.GetBoolValue("PrimaryBIOS");
        }
    }
}
